
using UnityEngine;

public class LevelIconComponent : MonoBehaviour
{
	public int Index;

	void OnTriggerEnter(Collider other)
	{
		TKMain tkMain = GameObject.Find("Main").GetComponent<TKMain>();
		tkMain.gameController.StepToLevel(Index);
	}

	public void OnClick()
	{
		Debug.Log("LevelIconComponent.OnClock");
	}
}
